/* 
* File: vector_push_back.cpp
* 测试用例修改自 http://www.cplusplus.com/reference/stl/vector/vector/
* 编译命令：
* 	c++ -Wall -g  -I ../Include/ vector_push_back.cpp -o vector_push_back 
* 在这里假设所有的所需的头文件放在../Include里面
*/
#include <iostream>
#define vector Vector
#include "Vector.h"
using namespace std;

int main ()
{
	vector<int> myvector;
	int myint;

	cout << "Please enter some integers (enter 0 to end):\n";

	do {
		cin >> myint;
		myvector.push_back (myint);
	} while (myint);

	cout << "myvector stores " << (int) myvector.size() << " numbers.\n";

	return 0;
}
